package com.chen.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: Chen
 * @Date: 2024/3/1  19:24
 */
@ApiModel(description = "退款订单")
@Data
@TableName("refund_order")
public class RefundOrder {
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("订单编号")
    private String orderNo;

    @ApiModelProperty("商品图片")
    private String orderPicture;

    @ApiModelProperty("退款类型")
    private Integer refundType;

    @ApiModelProperty("退款原因")
    private String refundReason;

    @ApiModelProperty("退款的详细信息")
    private String refundDesc;

    @ApiModelProperty("退款金额")
    private BigDecimal refundAmount;

    @ApiModelProperty("退款时间")
    private Date refundDate;

    @ApiModelProperty("退款用户id")
    private Integer userId;

    @ApiModelProperty("退款用户名")
    private String username;
}
